package com.xhwl.centiotdata.suppliersystem.welink;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xhwl.centiotdata.suppliersystem.welink.pojo.AttendanceQuery;
import com.xhwl.common.enums.config.IndustryEnum;
import com.xhwl.common.pojo.ResultJson;
import com.xhwl.common.pojo.cent.pedes.AttendanceRecord;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestPart;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @Author: luyi
 * @Description:
 * @Date: Create in 9:37 2021/11/18
 */
@RestController
public interface IAttendanceApi {

	@PostMapping(value = "/attendance-api/record-list")
	ResultJson<Page<AttendanceRecord>> recordList(@RequestPart IndustryEnum industryEnum, @RequestPart Integer projectId, @RequestPart AttendanceQuery attendanceQuery);

	String getToken(String clientId, String clientSecret);
}
